package br.com.salaodebeleza.business;

import java.util.List;

import javax.inject.Inject;

import br.com.salaodebeleza.domain.TbMenuBotao;
import br.com.salaodebeleza.persistence.TbMenuBotaoDAO;
import br.gov.frameworkdemoiselle.stereotype.BusinessController;
import br.gov.frameworkdemoiselle.template.DelegateCrud;

@BusinessController
public class TbMenuBotaoBC extends DelegateCrud<TbMenuBotao, Long, TbMenuBotaoDAO> {
	
	private static final long serialVersionUID = 1L;
	
	@Inject
	private TbMenuBotaoDAO tbMenuBotaoDAO;
	
	public List<TbMenuBotao> findByMenuId(long menuid) {
		return tbMenuBotaoDAO.findByMenuId(menuid);
	}
}
